package com.csun.cmny.provider.model.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-11 13:36
 * @Description:
 */
@Data
public class BedSortSaveDto {

    /**
     * 房间id
     */
    @NotNull(message = "{room.id.null}")
    private Integer roomId;

    /**
     * 排序json
     */
    @NotEmpty(message = "{bed.sort.empty}")
    @NotNull(message = "{bed.sort.null}")
    private String bedSort;

}
